package Person;

import Behavior.*;
import Impl.HouseObserver;
import Model.Cloth;
import Model.House;
import Model.Person;
import Model.Duck;
public class Hunter extends Person implements HouseObserver {
    private String type = "hunter";
    @Override
    public void display(){
        System.out.println("i am a hunter");
    }

    public String getType() {
        return type;
    }

    @Override
    public void update(House house) {
        house.addList(this);
    }
}
